﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 飞行棋案例
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Player player = new Player();
            FlyingChess flyingChess = new FlyingChess();

            flyingChess.PrintMenu();

            player.MountName();
            player.ShowInformation();

            flyingChess.PrintLegeng();
            flyingChess.InitProp();
            flyingChess.DrawMap();

            while(true)
            {
                if (flyingChess.player.playerPosition[0] == 163
                    || flyingChess.player.playerPosition[1] == 163)
                {
                    break;
                }
                flyingChess.StartGame(0);
                flyingChess.StartGame(1);
                
            }

            //Console.ReadKey();
        }
    }
}
